//
//  MontherDoTableViewCell.m
//  Mother
//
//  Created by 郭明皓 on 16/6/21.
//  Copyright © 2016年 郭明皓. All rights reserved.
//

#import "MontherDoTableViewCell.h"

@implementation MontherDoTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self create];
    }
    return self;
}

- (void)create {
    
    self.backImages = [[UIImageView alloc]init];
    [self.contentView addSubview:_backImages];
    self.backImages.layer.cornerRadius = 10;
    self.backImages.layer.masksToBounds = YES;
    
}

- (void)layoutSubviews {
    self.backImages.frame = CGRectMake(10, 5, CELLWIDTH - 20, CELLHEIGHT - 10);
}



@end
